package com.learn.training.multithread.chapter6.minchapter1.demo4;

public class AddTeacherThread extends Thread{
    public void run() {
        for (int i=0; i<10000; i++) {
            synchronized (Counter.lock) {
                Counter.teacherCount += 1;
            }
        }
    }
}
